package cn.chendd.users.controller;

import cn.chendd.users.service.UsersService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 用户管理Controller接口定义
 *
 * @author chendd
 * @date 2023/1/23 21:17
 */
@RestController
@RequestMapping("/api")
public class UsersController {

    @Resource
    private UsersService usersService;

    @GetMapping("/success")
    public void saveData() {
        this.usersService.saveData();
    }

}
